package day7.zuoye;

public class Test06 {
    public static void main(String[] args) {
        int a[]={1,2,3,3,4,56,3,0};
        boolean b=false;
        for (int i=0;i<a.length-1;i++){
            for(int j=i+1;j<a.length;j++){
                if (a[i]==a[j]){
                    b=true;
                }
            }
        }
        if (!b){
            System.out.println("不重复");
        }else {
            System.out.println("重复");
        }
    }
}
